package com.awesome.core.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * user table
 * </p>
 *
 * @author Hongkai.Wang
 * @since 2020-12-10
 */
@Data
@EqualsAndHashCode
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 中文名/chineseName
     */
    private String nameCn;

    /**
     * 英文名称/englishName
     */
    private String nameEn;

}
